const http = uni.$u.http

const api = {
	detail: '/api/miniapp/product/product_detail.php',
	list: '/api/miniapp/product/product_list.php',
}


export const list = (params, config) => http.post(api.list, params, {
	custom: {
		toast: false
	},

	...config
})
export const detail = (params, config) => http.post(api.detail, params, {
	custom: {
		toast: false
	},

	...config
})
 